package vashion.azeroth.core.personal.dao;

import java.util.List;

import vashion.azeroth.core.dao.BaseDao;
import vashion.azeroth.core.dao.DaoRepository;
import vashion.azeroth.core.personal.pojo.PersonalInviteCode;
import vashion.azeroth.core.personal.pojo.PersonalMember;

@DaoRepository
public interface PersonalInviteCodeDao extends BaseDao<PersonalInviteCode> {

	PersonalInviteCode getInviteCodeByCode(PersonalInviteCode inviteCode);

	int findCntByMemberId(PersonalMember member);
	
	List<PersonalInviteCode> getByUseMemberName (String useMemberName);
	
}
